package com.org.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.org.entity.BackupCollectItems;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface BackupCollectItemsMapper extends BaseMapper<BackupCollectItems> {

    /**
     * 根据时间删除备份信息
     * @param time
     */
    int deleteByTime(LocalDateTime time);

    /**
     * 根据时间查询备份信息
     * @param time
     */
    List<String> selectListByTime(LocalDateTime time);
}
